#ifndef PIXMAPWIDGET_H
#define PIXMAPWIDGET_H

#include <QWidget>
#include <QPixmap>

class PixmapWidget : public QWidget
{
    Q_OBJECT
public:
    explicit PixmapWidget(const QString &background, const int width = 0, const int height = 0,
                          QWidget *parent = nullptr);
    ~PixmapWidget();
private:
    void paintEvent(QPaintEvent *event);

private:
    QPixmap *m_pixmap_background;

};

#endif // PIXMAPWIDGET_H
